<%@ taglib uri="/WEB-INF/struts-html" prefix="html" %>

<%@ taglib uri="/WEB-INF/struts-bean" prefix="bean" %>
<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<html:html>
<head>
	<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script language="JavaScript">
var my_ddns=1;
var my_wlan_mac=0;
var my_snmp=0;
var my_dialup=0;
var my_printer=0;
var my_bridge=0;
var my_8021x=0;
var my_tiny=0;
var my_vpn=0;
var my_upnp=1;
var operation_func=0;
var feature_func=1;
var product_code=1006131;
var vlan_func_enable=0;
var my_hwlan=0;
var my_qos=0;
var PM="BBR-4MG";
var BACKUP_LOG_NAME="logfile.log.htm"/*tpa=http://192.168.1.253/logfile.log*/;
var BACKUP_CONFIG_NAME="backup.bin.htm"/*tpa=http://192.168.1.253/backup.bin*/;
var vendor_code=10;
var hyper_link="<a href='http://www.smc.com/' target='_blank'>";
var urlname="www.smc.com.htm"/*tpa=http://192.168.1.253/www.smc.com*/;
var vendor_name="SMC";
var company="TTL Industries Public Company Limited ";
var mouseover="'#7994BB'";
var mouseout="'#4E7599'";
var wizardbg="'#000000'";
var vendor_no=10;
var menu_link="<td height='0' align='left' bgColor='#4E7599' valign='middle'>";
var helplink="<p class=txt2></p>";
var helplink1="<p class=txt2></p>";


if (parent.location.href != window.location.href)
parent.location.href = window.location.href;

</script>	
</head>


<style>
A {
font-family : Helvetica, Verdana, Arial, sans-serif;
font-size : 12px;
text-decoration : none;
color : #666666;
}
A:HOVER {
font-family : Helvetica, Verdana, Arial, sans-serif;
font-size : 12px;
text-decoration : underline;
color : #666666;
}
A.section {
font-family : Helvetica, Verdana, Arial, sans-serif;
font-size : 12px;
text-decoration : none;
color : #666666;
font-weight : bold;
}
A:HOVER.section {
font-family : Helvetica, Verdana, Arial, sans-serif;
font-size : 12px;
text-decoration : underline;
color : #666666;
font-weight : bold;
}
.tdTextr {
BACKGROUND: #336699; color: #FFFFFF;
font-family: Arial, Verdana, sans-serif; font-size: 12pt;
text-align: right;
}
.tdTextcc {
BACKGROUND: #336699; color: #FFFFFF;
font-family: Arial, Verdana, sans-serif; font-size: 12pt;
text-align: center;
}
.tdTextc {
BACKGROUND: #B3C9DF; color: #FFFFFF;
font-family: Arial, Verdana, sans-serif; font-size: 14pt;
text-align: center;
}
.tdText {
BACKGROUND: #B3C9DF; color: #336699;
font-family: Arial, Verdana, sans-serif; font-size: 9pt;
text-align: left;
}
</style>

<script language="JavaScript">

</script>
<body bgcolor="#444444" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onload="document.getElementById('usr').focus();">

	<html:form action="/Login.do" method="post" >
		<input type="hidden" name="mode" value="check" />		
		<table width="100%" border="0" cellspacing="0" cellpadding="0" background="../images/p1.gif" >
			<tr> 
				<td width="1%"><img src="../images/p1.gif" width="3" height="76"></td>
				<td width="99%" valign="top">
					<script language="JavaScript">document.write(hyper_link);</script>
					<img src="../images/ittl.jpg" width="133" height="59" border="0"></td>
			</tr>
		</table>
	
		<table width="100%" border="0" cellspacing="0" cellpadding="0" height="80%">

			<tr>
				<td valign="middle" align="center" height="469">
					<div align="center"><br><br>
						<table border="0" cellspacing="1" cellpadding="5" bgcolor="#336699">
							<tr><td class=tdTextcc><b>เข้าสู่ระบบ</b></td></tr>
							<tr>
								<td height="2" class=tdTextc> 
									<table border="0" cellspacing="0" cellpadding="5">
										<tr>
											<td  valign="middle" align="center" colspan="2">
											<bean:write name="LoginForm" property="warning" filter="false" /></td>
										</tr>

										<tr>
											<td class=tdText><b>รหัสผู้ใช้:</b></td>
											<td class=tdText><html:text property="userName" styleId="usr" /></td>
										</tr>			                			
										<tr>
											<td class=tdText><b>รหัสผ่าน:</b></td>
											<td class=tdText><html:password property="password" /></td>
										</tr>
										<tr>
											<td>&nbsp;</td>
											<td>
												<html:submit value="LOGIN" />&nbsp;&nbsp;												
			                        			<input type="button" value="CANCEL" onClick=window.close();>
											</td>
										</tr>
									</table>
								</td>
							</tr>
						</table>
						<br><br>
						<p align="center">
						
						<font face="Verdana, Arial" size="2" color="#FFFFFF">							
							Copyright &copy; 2010  
							<script language="JavaScript">document.write(company);</script> 
							
						</font>
					</div>
				</td> 
			</tr>
		</table>
	</html:form>
    
</body>


</html:html>
